  <!--Start Middle  Part  -->

<div class="packagethumb">
    		<?php
            $img_arr = array();
            $img_arr['type'] = 'venue_images';
            $img_arr['size'] = 'small';
            
            
            $temparr = array(1,4,7);
            for($i =0; $i < count($parr); $i++) {
            $spacingR = (($i%3 == 1))?'spacingR':'';
            $img_arr['image'] = $parr[$i]['venue_image'];
            $img_arr['title'] = $parr[$i]['title'];
            $img_arr['width'] = 273;
            $img_arr['height'] = 153;
             ?>
            <div class="thumb <?=$spacingR?>">
            		<div class="heading"><a href="<?=_SITE_URL.'venue-detail/'.clean_url($parr[$i]['venue_name']).'/'.$parr[$i]['id']?>"><span class="txt" ><?=$parr[$i]['venue_name']?></span></a>
                    <span class="fr"><img src="<?=_SITE_URL?>images/spacer.gif" alt="" class="choose" /></span><div class="cl"></div></div>
                    
                    
                   
                    <div class="img"><a href="<?=_SITE_URL.'venue-detail/'.clean_url($parr[$i]['venue_name']).'/'.$parr[$i]['id']?>"><?=image_url($img_arr)?></a></div>
                    <div class="amount">Start with<span> <del>र</del> <?=$parr[$i]['total_cost']?></span></div>
                    <div class="actions">
                    <a href="#"><img src="<?=_SITE_URL?>images/spacer.gif" alt="" class="info" /></a>
                    <a href="#"><img src="<?=_SITE_URL?>images/spacer.gif" alt="" class="rate" /></a>
                    <a href="#"><img src="<?=_SITE_URL?>images/spacer.gif" alt="" class="pic" /></a>
                    <a href="#"><img src="<?=_SITE_URL?>images/spacer.gif" alt="" class="addto" /></a>
                    <a href="#"><img src="<?=_SITE_URL?>images/spacer.gif" alt="" class="fblike" /></a>
                    <div class="cl"></div>
                    </div>
                    
        </div>
                    
  <? } ?>
            
            <div class="cl"></div>
            
      </div>
      
      
        <!-- Start Paging Search -->  
    <div class="paging bottom">
    	<div class="fl left">
       
        	  <ul>
            <?php echo $paging; ?>
            </ul>
            
            </div>
        <div class="fr right"> 
       ..
            </div>
      </div>
      <div class="cl"></div>
    <!-- End Paging Search -->
    
    <div class="btmcontainer">
    	<div class="fl"><img src="<?=_SITE_URL?>images/btmbanner.jpg" alt="" /></div>
        <div class="fr">
        	
                
                
               <?php
            $img_arr['type'] = 'venue_images';
            $img_arr['size'] = 'small';
            $img_arr['width'] = 110;
            $img_arr['height'] = 63;
            $img_arr['class'] = ' class="thumb" align="left" ';
            for($i=0;$i<count($ranVenue);$i++) {
            
             $img_arr['title'] = $ranVenue[$i]['venue_name'];
             $class = ($i == 1)?' bnone':'';
            
            ?>
        	<div class="blogs <?=$class?>"><div class="fl">
            <?=image_url($img_arr)?>
           <!-- <img src="<?=_SITE_URL?>images/themethumb.jpg" align="left" alt="" class="thumb" /> -->
            </div>
            <div class="fl content">
            	<h3><?=$ranVenue[$i]['venue_name']?></h3>
                <p><?=trimstr($ranVenue[$i]['venue_description'],150)?> </p>
                <a href="<?=_SITE_URL.'package-detail/'.clean_url($ranVenue[$i]['venue_name']).'/'.$parr[$i]['id']?>" class="viewbtn">View Details</a>
                </div>
                
                <div class="cl"></div></div>
            <? } ?>    
        
        </div>
      <div class="cl"></div>